<template>
  <!-- 
  表格数据的 增删改

 -->

  <table>
    <tr>
      <th class="label" v-for="item in theadList" :key="item">
        {{ item }}
      </th>
      <th class="label">
        操作
      </th>
    </tr>
    <tr v-for="item in valueList" :key="item.id"></tr>
  </table>
</template>

<script>
export default {
  name: "TableForm",
  props: {
    modelObj: {
      type: Object,
      default: null
    },
    theadList: {
      type: Array,
      default: null
    },
    valueList: {
      type: Array,
      default: null
    }
  }
};
</script>

<style></style>
